package com.lanou.remember.utils;

import com.lanou.k12.entity.User;
import org.apache.shiro.SecurityUtils;

public  class GetLoginUser {

    public static User getLoginUser () {

        return (User) SecurityUtils.getSubject().getPrincipal();
    }
}
